﻿<%@ Page Language="C#" MasterPageFile="~/master.Master" ValidateRequest="false" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
    Inherits="CaseStudy.AdminPortal._Default" %>

<%@ Register Src="~/UserControl/LoginInfo.ascx" TagName="LoginInfo" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <uc1:LoginInfo ID="loginInfo" runat="server" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="LoginComponent">
        <asp:Panel ID="pnlLogin" runat="server">
            <div class="LoginReminding">请登录！</div>
            <div class="LoginControl">
                <asp:TextBox ID="txtUserName" runat="server" Width="200px"></asp:TextBox>
            </div>
            <div class="LoginControl">
                <asp:TextBox ID="txtPassword" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
            </div>
            <div class="LoginErrorReminding">
                <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="False">密码错误！</asp:Label>
            </div>
            <div class="ItemButtons">
                <div class="ItemButton">
                    <asp:ImageButton ID="btnConfirm" runat="server" ImageUrl="images/Button_Login.png"
                        OnClick="btnConfirm_Click" />
                </div>
                <div class="ItemButton">
                    <asp:ImageButton ID="btnClear" runat="server" ImageUrl="images/Button_Clear.png"
                        OnClick="btnClear_Click" />
                </div>
            </div>
        </asp:Panel>
        <asp:Panel ID="pnlWelcome" runat="server" Visible="false">
            <div class="lblWelcome">
                <asp:Label ID="lblWelcome" runat="server">欢迎！</asp:Label>
            </div>
        </asp:Panel>
    </div>
</asp:Content>
